package com.da.web.dorm_room.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author da
 * @time 2023/12/12 上午 9:41
 * 宿舍树
 */
@Data
public class RoomTree {
    private Long roomId;
    private String roomCode;
    private String type; // 用来区分是宿舍还是床位 1 宿舍 0 床位
    private List<RoomTree> children = new ArrayList<>();
}
